
# from RunTest import *
# from selenium import webdriver
# driver = webdriver.Chrome()
# driver.get('https://www.baidu.com')
# driver.find_elements(by=CLASS)
#修改了一段代码
str = 'var:var1:var2'

if 'var2' == 'var':
    print(1)
else:
    print(2)
print( str.split(':')[-1] )



trlist = [1,2,3,4,5,6]
# list1 = trlist.remove(trlist[1])
del(trlist[0])
# print(trlist)

str = 'col:字段名,row:10,data:值'
strlist = str.split(',')
strlist[0].split(':')[1] #字段名
strlist[1].split(':')[1] #行数
if len(strlist)==3:
    strlist[2].split(':')[1] #字段名对应的值

for i in strlist:
    ilist = i.split(':')
    ilist[1] = '字段名'

print(strlist)

str = 'row:10'
strlist = str.split(',')

print(type(strlist))
print(strlist)

def while_1():
    def while_2(t,func):
        while 1:
            func
            pass
